<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body class="bg2">
<s:form>
</body>
<script language="JavaScript">
    sendpath('<s:property value="filePath"/>');

    function sendpath(path) {
        parent.document.all.imgpath.value = path;
        parent.document.all.radio1.checked = true;
        parent.document.all.mysubmit.click();
        return false;
    }
</script>
</s:form>
</html>